*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
	width: 100%;
	height: 100%;
	background-color:white;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-content: center;
	}

/*inicio de header*/
.header{
   display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
    }
.logo{
    object-fit: cover;
    height: 100px;
    width: 335px;
    margin-left: 122px;
    margin-top: -6px;
}
.barnav{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
		}
.menu{
    width: 10%;
    height: 100%;
    color:black;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	}
.menu:hover{
   color:#990000;
   transition: 0.5s;
}

/* Quitar estilo por defecto de los enlaces del menú */
.barnav a {
  text-decoration: none;   /* quita subrayado */
  color: #000000;          /* negro */
  font-weight: 500;
}

/* Hover elegante */
.barnav a:hover {
  color: #990000;          /* rojo corporativo */
}
/*inicio de nav*/
.nav{
    width:100%;
    background-image: url(../img/das12.jpg);
    height: 30em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}
.title-nav{
    font-size: 2.8em;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: white;
    align-items: center;
    text-align: center;
}
.title-nav1{
    font-size: 1.5em;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: white;
    margin-left: -23px;
}
.btn-nav{
    margin-left: -29px;
}
.btn-nav:hover{
    background-color: white;
    color: black;
    transition: 0.5s;
}

/* ===== FIX CLIENTES (solo sección banner) ===== */
.banner{
  height: auto;              /* quita altura fija */
  padding: 40px 0;           /* espacio arriba/abajo */
}

.title-banner{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    text-align: center;
    margin: 0;
}
.banner .galery{
    width: min(1200px, 95%);
    margin: 0 auto;              /* centra todo */
    margin-top: 30px;

    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 logos por fila */
    gap: 35px;                   /* espacio entre logos */
    justify-items: center;       /* centra cada logo */
    align-items: center;
}
.banner .box-galery{
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner .box-img{
  width: auto;
  height: auto;
  margin-left: 0;            /* quita ese -10px que desalineaba */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Tamaño uniforme de logos */
.banner .cliente-logo{
  width: 200px;       /* más grande */
  height: 110px;
  object-fit: contain;
  display: block;
}
/* Logos que necesitan verse más grandes */
.banner .cliente-logo.logo-grande{
  width: 230px !important;
  height: 110px !important;
  object-fit: contain;
}

/*inicio de article*/
.article{
    background-color:black;
    height: 35em;
		}
.cards {
    grid-template-columns: auto;
    gap: 16px;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 0%;
    margin-top: 49px;
    margin-left: -29px;
}
.card {
    border: 2px solid rgba(0,0,0,.12);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    object-fit: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 66px;
}
.card-img {
    object-fit: cover;
    height: 333px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-body{ 
padding: 16px;
}
.card-body h3{ 
margin: 0 0 8px; 
font-size: 18px;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
color: #990000;
display: flex;
flex-direction: column;
justify-content:center;
align-items: center;
}
.card-body p{ 
margin: 0 0 12px; 
color:black;
line-height: 1.6;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
display: flex;
flex-direction: column;
justify-content:center;
align-items: center;
}
.card-link{ 
color:#990000; 
font-weight: 800;
text-decoration: none;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
display: flex;
flex-direction: column;
justify-content:center;
align-items: center;
}
.card-link:hover { 
text-decoration: none;
color:#330405; 
}


/* ===== FIX TRABAJOS DESTACADOS (CENTRADO REAL) ===== */
.representations{
  width: 100%;
  height: auto;
  padding: 60px 0;
}

.title-representations{
  margin: 0 0 30px 0;     /* quita margin-left fijo */
  text-align: center;    /* centra el título */
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}

/* Grid centrado con ancho máximo */
.representations .galery1{
  width: min(1200px, 92%);
  margin: 0 auto;         /* CENTRA el contenedor */
  padding: 0 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* se adapta solo */
  gap: 24px;              /* espacio entre tarjetas */
  align-items: start;
  justify-items: center;  /* centra cada item dentro de su celda */
}

/* Tarjeta */
.representations .box-galery1{
  width: 100%;
}

.representations .box-img1{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Imagen uniforme */
.representations .box-img1 img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border: 2px solid rgba(0,0,0,.12);
  border-radius: 14px;
  display: block;
  margin: 0 !important;
}

/* Texto */
.representations .card-body1{
  width: 100%;
  padding: 14px 10px;
  text-align: center;
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}

.representations .card-body1 h4{
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.35;
  margin: 0;
}

/* Responsive extra */
@media (max-width: 600px){
  .representations{
    padding: 40px 0;
  }
  .representations .galery1{
    gap: 16px;
  }
  .representations .box-img1 img{
    height: 200px;
  }
}

/*inicio de contact*/
.contact{
    width: 100%;
    background-color:#990000;
    height: 35em;
}
.title-contact{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: white;
    font-size: 2em;
    text-align: left;
    margin-top: 128px;
    margin-left: -917px;
}
.panel1{
    margin-right: 0;
    margin-bottom: 10px;
    width: 691px;
    height: 159px;
}
.panel2{
	margin: 0 0 10px;
}
.container-contact{
    overflow: hidden;
    object-fit: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;	
}
.contact-grid {
    gap: 16px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -113px;
}
.contact-item{
    margin-top: 26px;
    margin-right: 0;
    margin-bottom: 8px;
    color: white;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    justify-content: space-between;
    padding-top: 0px;
}

.social{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    margin-left: -18px;
}
.social-link{
    color:white;
    font-weight: 700;
    text-decoration: none;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    margin-left: 2px;
    padding-left: 0px;
}
.social-link:hover{ 
  text-decoration: none;
  color: gray;
}

.label{ 
	display: block; 
	color:white;
	margin: 10px 0 6px; 
	font-weight: 700;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
.input, .textarea {
  width: 100%;
  padding: 15px 15px;
  border-radius: 15px;
  border: 2px solid rgba(140, 136, 138, 0.8);
  outline: none;
  font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
.textarea{ 
  min-height: 120px; 
  resize: vertical; 
}
/* BOTON SEND */
.btn-send{
    background: black;
    color: white;
    border: none;
    padding-top: 12px;
    padding-right: 12px;
    padding-left: 12px;
    padding-bottom: 12px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 14px;
    transition: 0.3s;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    border-radius: 15px;
    margin-top: 15px;
}

.btn-send:hover{
  background:#3D3D3D;
}
/* BOTON WHATSAPP */
.btn-whatsapp{
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    transition: 0.3s;
}

.btn-whatsapp img{
  width: 28px;
}

.btn-whatsapp:hover{
  transform: scale(1.1);
}

/*inicio de footer*/
.footer{
    width: 100%;
    background-color:white;
	height: 19em;	
}
.footer-logo{
    margin-top: -83px;
    margin-left: 89px;
}
.footer-grid {
    display: grid;
	grid-template-columns: 1.2fr 0.7fr 0.7fr 1fr;
    gap: 16px;
    margin-top: 105px;
    align-items: center;
    margin-left: 110px;
}
.footer h4{
    margin-top: -141px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 10px;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    align-items: center;
    color: black;
}

.footer a{
    display: block;
    padding-top: 0px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 13px;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: black;
    margin-top: -5px;
	text-decoration: none;
}
.footer a:hover{
    color: #990000;
}
.footer-logo{
    height: 211px;
    width: auto;
    margin-bottom: 10px;
}
.small{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    margin-left: -18px;
	}
.ruc {
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    margin-top: 11px;
}
.telefono{
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    margin-top: 14px;
}
.celular{
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
.direccion{
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}


.btn-nav{
    background-color: #990000;
    text-decoration: none;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: white;
    padding: 1em 4em;
    font-size: 1.25;
    margin-top: 1em;
    margin-right: 0;
    margin-bottom: 1em;
    border-radius: 0.5em;
}
